home *** CD-ROM | disk | FTP | other *** search
/ QRZ! Ham Radio 6 / QRZ Ham Radio Callsign Database - Volume 6.iso / pc / files / amiga / rhinosrc.lha / setjmp.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-05-01  |  384 b   |  23 lines

  1. #ifndef _SETJMP_H
  2. #define _SETJMP_H
  3. /*
  4.  * Custom setjmp() and longjmp().
  5.  * These versions must not do stack checking.
  6.  *
  7.  * Olaf Seibert 1993.
  8.  */
  9.  
  10. struct Jmpbuf {
  11.     void      (*pc)();
  12.     long        d1, d2, d3, d4, d5, d6, d7;
  13.     void       *a1, *a2, *a3, *a4, *a5, *a6, *sp;
  14. };
  15.  
  16. typedef struct Jmpbuf jmp_buf[1];
  17.  
  18. extern int setjmp(jmp_buf);
  19. extern void longjmp(jmp_buf, int);
  20.  
  21. #endif
  22.  
  23.